home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ETO Development Tools 4
/
ETO Development Tools 4.iso
/
Tools - Objects
/
Macintosh Programmer’s Workshop
/
MPW 3.1
/
MPW
/
Interfaces
/
CIncludes
/
SetJmp.h
< prev
next >
Wrap
Text File
|
1990-12-13
|
490b
|
32 lines
/*
SetJmp.h
Copyright Apple Computer, Inc. 1986-1988
All rights reserved.
*/
#ifndef __SETJMP__
#define __SETJMP__
typedef int *jmp_buf[12]; /* D2-D7,PC,A2-A4,A6,SP */
#ifdef __safe_link
extern "C" {
#endif
/*
* setjmp() must be defined as a macro, according to the ANSI standard.
* It is equivalent to int setjmp(jmp_buf env).
*/
int __setjmp(jmp_buf env);
#define setjmp(env) __setjmp(env)
void longjmp(jmp_buf, int);
#ifdef __safe_link
}
#endif
#endif __SETJMP__